Skip to content

Conversation

@adamboutcher
Copy link
Contributor

@adamboutcher adamboutcher commented Jan 28, 2025

This should give some (albeit poor quality) support for alternative ssh keyfile locations using the systemd launcher.

Our use case is so users don't have to think about ssh key generation etc to reduce a barrier of entry.

I don't write ruby so this is probably a mess.

@johrstrom
Copy link
Contributor

We (OSC) use HostBasedAuthentication, but I'm OK with this addition either way. I just left a comment around insert maybe not being the best approach.

Hopefully make this "more ruby" like.
remove duplicate line.
removed duplicate end.

My poor copy & paste skills...
@johrstrom
Copy link
Contributor

Sorry for the delay - I'm still working through test cases that should have caught that issue (if there was one?)

@johrstrom
Copy link
Contributor

Sorry for the delay - I'm still working through test cases that should have caught that issue (if there was one?)

🤦‍♂️ I added a test for the linux_host adapter, not the systemd adapter.

I'll get this merged shortly and add some tests for the same.

@johrstrom johrstrom requested review from johrstrom and removed request for johrstrom February 6, 2025 17:44
Copy link
Contributor

@johrstrom johrstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working through this with me!

@johrstrom johrstrom merged commit db13933 into OSC:master Feb 6, 2025
4 checks passed
This was referenced Feb 6, 2025
@adamboutcher
Copy link
Contributor Author

Thanks for working through this with me!

No worries, I'm not well versed in git or ruby so I can only apologise for being slow and cumbersome.

@johrstrom
Copy link
Contributor

No worries, I'm not well versed in git or ruby so I can only apologise for being slow and cumbersome.

No issues at all. I'm happy to get a contribution in any form. Thanks again!

@adamboutcher adamboutcher deleted the systemd_sshkey branch March 6, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants